package org.me.five_stones_project.ai;

/**
 *
 * @author Tangl Andras
 */

public class Patterns {	
	public static final int[][][] PATTERNS_BEGINNER = {
		//five
		{{2, 2, 2, 2, 2}},
		
		//fours
		{
			{2, 2, 2, 2, 0},
			{0, 2, 2, 2, 2}
		},
		
		//threes		
		{
			{0, 2, 2, 2, 0},
		},
		
		//twos
		{	
			{0, 2, 2, 0, 0},
			{0, 0, 2, 2, 0}
		},
		
		//ones
		{
			{0, 2, 0, 0, 0},
			{0, 0, 2, 0, 0},
			{0, 0, 0, 2, 0}
		}
	};
	public static final int[][][] PATTERNS_AVERAGE = {
		//five
		{{2, 2, 2, 2, 2}},
		
		//fours
		{
			{0, 2, 2, 2, 2, 0},
			{0, 2, 2, 2, 2, 0},
			{2, 2, 2, 2, 0},
			{0, 2, 2, 2, 2}
		},

		{
			{2, 0, 2, 2, 2},		
			{2, 2, 0, 2, 2},
			{2, 2, 2, 0, 2}
		},
		
		//threes		
		{
			{0, 2, 2, 2, 0},
			{2, 2, 2, 0, 0},
			{0, 0, 2, 2, 2}
		},
		
		{
			{2, 0, 2, 2, 0},
			{0, 2, 0, 2, 2},		
			{2, 2, 0, 2, 0},
			{0, 2, 2, 0, 2}
		},
		
		{{2, 0, 2, 0, 2}},
		
		//twos
		{
			{2, 2, 0, 0, 0},		
			{0, 2, 2, 0, 0},
			{0, 0, 2, 2, 0},
			{0, 0, 0, 2, 2}
		},
		
		{
			{2, 0, 2, 0, 0},
			{0, 2, 0, 2, 0},
			{0, 0, 2, 0, 2},
			{2, 0, 0, 0, 2}
		},
		
		//ones
		{
			{2, 0, 0, 0, 0},
			{0, 2, 0, 0, 0},
			{0, 0, 2, 0, 0},
			{0, 0, 0, 2, 0},
			{0, 0, 0, 0, 2}
		}
		
	};
	public static final int[] FIVE = {2, 2, 2, 2, 2};
}
